﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

using MongoDB.Bson.Serialization.Attributes;

namespace BusinessManagementStudio.Models.BusinessObject.Entities
{
    [BsonIgnoreExtraElements]
    public class Quotation : MongoEntity
    {
        public int SequenceNo { get; set; }
        public int ItemNo { get; set; }
        public String ServiceOrderNo { get; set; }
        public String PONo { get; set; }
        public String WorkOrderNo { get; set; }
        public String QuotationNo { get; set; }
        public DateTime QuotationCreationDate { get; set; }
        public DateTime WorkCompletionDate { get; set; }
        public String Description { get; set; }
        public String SORItem { get; set; }
        public int Qty { get; set; }
        public String Unit { get; set; }
        public decimal Rate { get; set; }
        public decimal Amount { get; set; }
        public decimal TotalAmount { get; set; }
        public String VendorNo { get; set; }
        public String ServiceDetail { get; set; }
        public String Location { get; set; }
        public String CompanyType { get; set; }
        public String CompanyName { get; set; }
        public String PDQuotationNo { get; set; }
        public String PDInvoiceNo { get; set; }
        public decimal InvoicePayment { get; set; }
        public String PaymentRef { get; set; }
        public DateTime ReceivedDate { get; set; }
        public String RefNo { get; set; }
        public String PurchaseOrderNo { get; set; }
    }
}